from lagou_cekai.task3_1.thirteen_class_actual_combat.element.ele_main_page import EleMainPage


class MainPage(EleMainPage):
    _url="https://work.weixin.qq.com/wework_admin/frame"
    def goto_contact(self):
        from lagou_cekai.task3_1.thirteen_class_actual_combat.Page.contact_page import ContactPage
        '''
        点击通讯录,跳转通讯录页面
        :return:
        '''
        self.tongxunlu().click()
        return ContactPage(self.driver)


    def goto_add_member(self):
        from lagou_cekai.task3_1.thirteen_class_actual_combat.Page.add_member import AddMemberPage
        '''
        跳转到添加成员页面
        :return:
        '''
        self.tianjiachengyuan().click()
        return AddMemberPage(self.driver)

